<?php
/**
* @version		$Id: view.html.php 12 2011-11-02 14:20:06Z netix.mail@gmail.com $
* @package		ALM Hotel Menager	
* @subpackage	com_almhm
* @author		ALM Studio
* @copyright	Copyright 2011 ALM Studio. All rights reserved
* @licence		Commercial
*/

defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

class AlmHmViewAlmhm extends JView
{	
	
	function display($tpl = null) 
	{
		$document =& JFactory::getDocument();
        $document->addStyleSheet('components/com_almhm/assets/css/almhm.css');
		
        require_once (JPATH_COMPONENT.DS.'assets'.DS.'funkcije.php');
        
		$this->addToolBar();
		parent::display($tpl);
		$this->setDocument();
	}

	protected function addToolBar() 
	{
		JToolBarHelper::title(JText::_('COM_ALMHM_ALMHM'), 'almhm');
	}

	protected function setDocument() 
	{
		$document = JFactory::getDocument();
		$document->setTitle(JText::_('COM_ALMHM_ALMHM_SITE_TITLE'));
	}
}